package com.ly.mpayment.persist.service.upshopinfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.ly.mpayment.persist.entity.DownShopInfo;
import com.ly.mpayment.persist.entity.UpShopInfo;
import com.ly.mpayment.persist.entity.User;
import com.ly.mpayment.persist.hibernate.Page;

import net.sf.json.JSONObject;

public interface IUpShopInfoService {

	public boolean addUpshopinfo(UpShopInfo upshop);

	public boolean updateUpshopinfo(UpShopInfo upshop);

	public UpShopInfo findById(String id);

	public Page<UpShopInfo> findPageUpshopinfo(Map<String, Object> parameters,int start,int pageSize);

	public boolean addUpshopinfo(UpShopInfo shop, User user);

	public UpShopInfo findShopNum(String shopNum);

	public UpShopInfo findShopIp(String shopIp);

	public boolean updateShopAmount(UpShopInfo shop, User adminUser, BigDecimal bigDecimal,String remark,int paytype);

	public UpShopInfo findByUserId(String userId);

	public List<UpShopInfo> findAllByProvince(String provinceuuid);

	public List<UpShopInfo> findAllByProvince();

    String updatePressOrder(JSONObject json);

	String updateArtificial(JSONObject json);

	String updateQuerySwitch(JSONObject json);

	UpShopInfo findByAppId(String qinghaijb_useruuid);

	JSONObject findByBillUserId(String useruuid,String startTime,String endtTime);

	String updateUpSwitch(JSONObject json);
}
